package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.CollectionManager;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionManagerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CollectionManager record);

    void audit(@Param("id") Long id, @Param("auditorId") Long auditorId);

    CollectionManager selectByPrimaryKey(Long id);

    List<CollectionManager> selectAll();

    int updateByPrimaryKey(CollectionManager record);

    int query4Count(QueryObject qo);

    List<CollectionManager> query4List(QueryObject qo);
}